<template>
  <div>
    <!-- 头部标签区域 -->
    <van-nav-bar title="黑马商城"  @click-left="gethome" left-arrow fixed />
    <!-- 底部导航标签栏 -->
  </div>
</template>
<script>
export default {
  props: [],
  data () {
    return {
      active: 0
    }
  },
  methods: {
    gethome () {
      // console.log('1')
      this.$router.go('-1')
      // this.$router.push('/')
    }
  }
}
</script>
<style lang="less" scoped>
.van-nav-bar {
  background-color: #1f82c4;
  margin-bottom: 50px;
}
/deep/ .van-nav-bar__title {
  color: aliceblue;
}
/deep/.van-nav-bar__text {
  color: aliceblue;
}
/deep/.van-icon-arrow-left::before {
  color: aliceblue;
}
</style>
